﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace Sokoban.View
{
    /// <summary>
    /// Interaction logic for Input.xaml
    /// </summary>
    public partial class Input : Window
    {
        public Input()
        {
            InitializeComponent();
            for (int i = 4; i <= 20; i++)
            {
                ComboRows.Items.Add(i);
                ComboCols.Items.Add(i);
            }
            ComboRows.SelectedIndex = 0;
            ComboCols.SelectedIndex = 0;
        }
        private void Cancel_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = false;
        }
        private void Create_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = true;
        }      
    }
}
